package com.zzyl.nursing.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * InfoVo 用于封装信息展示数据，常用于返回通用信息结构给前端。
 */
@ApiModel("信息展示对象")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class InfoVo {

    @ApiModelProperty(value = "数据类型标识，如血压、心率等", example = "bloodPressure")
    private String dataType;

    @ApiModelProperty(value = "唯一标识符，如设备ID或指标ID", example = "BP001")
    private String identifier;

    @ApiModelProperty(value = "名称，如传感器名称或指标名称", example = "血压传感器")
    private String name;

    @ApiModelProperty(value = "时间戳，表示数据采集时间", example = "2024-04-05 10:30:00")
    private String time;

    @ApiModelProperty(value = "单位，如 mmHg、bpm 等", example = "mmHg")
    private String unit;

    @ApiModelProperty(value = "数值，表示具体的数据值", example = "120")
    private String value;
}
